package org.hy.domain.group;

import java.util.List;

import org.apache.commons.lang.builder.ToStringBuilder;
import org.hy.domain.ug.PostTreeComment;
/**
 * 小组问题回答类
 * @author Administrator
 *
 */
public class GAnswer extends PostTreeComment{
	
	private int idGdiscuss;
	
	private boolean goldenTag;
	
	private boolean helperTag;
	
	private int up;

	/**
	 * 嵌套回答
	 */
	private List<GAnswer> childAnswers;
	
	public int getIdGdiscuss() {
		return idGdiscuss;
	}

	public void setIdGdiscuss(int idGdiscuss) {
		this.idGdiscuss = idGdiscuss;
	}

	public boolean isGoldenTag() {
		return goldenTag;
	}

	public void setGoldenTag(boolean goldenTag) {
		this.goldenTag = goldenTag;
	}

	public boolean isHelperTag() {
		return helperTag;
	}

	public void setHelperTag(boolean helperTag) {
		this.helperTag = helperTag;
	}

	public int getUp() {
		return up;
	}

	public void setUp(int up) {
		this.up = up;
	}

	public List<GAnswer> getChildAnswers() {
		return childAnswers;
	}

	public void setChildAnswers(List<GAnswer> childAnswers) {
		this.childAnswers = childAnswers;
	}
	@Override
	public void buildToString(ToStringBuilder builder) {
		super.buildToString(builder);
		builder.append("childAnswers",childAnswers);
	
	}
}
